import Vue from "vue";
import Vuex from "vuex";
import SystemStore from "./SystemStore";
import { getLanguage } from "../settings/lang";

Vue.use(Vuex);

const store = new Vuex.Store({});

export const SystemModule = new SystemStore({ store, name: "System" });

// SystemModule.LoadConfig();
// 设置默认语言集
SystemModule.setLanguage(getLanguage());

export default store;
